package io.github.talelin.latticy.common.enumeration;

import com.baomidou.mybatisplus.annotation.EnumValue;
import com.fasterxml.jackson.annotation.JsonValue;
import lombok.AllArgsConstructor;
import lombok.Getter;

/**
 * @authoer:wulongbo
 * @createDate:2022/6/28
 * @description:
 */
@AllArgsConstructor
@Getter
public enum OrderTypeEnum {

    /**
     * 一件代发
     */
    AGENT(1,"一件代发"),

    /**
     * 转运
     */
    TRANSPORT(2,"转运"),
    /**
     * 其他
     */
    OTHER(3,"其他");

    @EnumValue
    private Integer orderType;

    @JsonValue    //标记响应json值
    private String orderTypeDesc;
}
